package hexui;

import hexgame.GameState;
import hexgame.HexMove;
import hexgame.Player;

public class ObservingPlayer extends Player {
	GameState gameState;
	GameObserverWindow gameObserverWindow;
	
	public ObservingPlayer(GameState gameState, String description) {
		this.gameState = gameState;
		this.gameObserverWindow = new GameObserverWindow(gameState, this);
		this.gameObserverWindow.setTitle(description);
	}

	@Override
	public boolean isConnected() {
		return false;
	}

	@Override
	public HexMove getMove() {
		return null;
	}

	@Override
	public void showMove(HexMove move) {
		gameObserverWindow.showMove(move);
	}

	@Override
	public void gameOver(boolean didWin) {
	}

	@Override
	public void sendErrorMessage(String message) {
	}

}
